    <div id="navigation">
    <script>
    
        function safe_redirect(){  
        
            if (window.location.host == "epirozir.com"){
                
                window.location.href = "http://epiozir.com/";
                
            } else {
                window.location.href = "http://demo.menestystech.com/portfolio-2/";
            }
        }
        
    </script>
    <a href="" id="home-link" onclick="safe_redirect();">home</a><a href="gallery.php">gallery</a><a href="/sandbox/about.php">about</a><a href="/contact.php">contact us</a>
    </div>